GET coreapi/v1/pessoa/SelectPessoasByUnidadesGrupo?gruId={gruId}&unidades[0]={unidades[0]}&unidades[1]={unidades[1]}

Seleciona pessoas pelo grupo de usuário, unidades administrativas e nome da pessoa

Request Information

Parameters

NameDescriptionAdditional information
gruId
Id do grupo

Define this parameter in the request URI.

unidades
Ids das unidades

Define this parameter in the request URI.

Response Information

Lista de pessoas

Response body formats

application/json, text/json

Sample:
{
  "DataNascimento": "2024-09-28T04:33:42.546592-03:00",
  "EstadoCivil": 2,
  "Id": "2667ed4f-acea-45ed-8ed6-23708ba699db",
  "Nome": "sample string 4",
  "Sexo": 5,
  "DataCriacao": "2024-09-28T04:33:42.546592-03:00",
  "DataAlteracao": "2024-09-28T04:33:42.546592-03:00"
}

application/xml, text/xml

Sample:
<Pessoa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoreSSO.API.Model">
  <DataAlteracao>2024-09-28T04:33:42.546592-03:00</DataAlteracao>
  <DataCriacao>2024-09-28T04:33:42.546592-03:00</DataCriacao>
  <DataNascimento>2024-09-28T04:33:42.546592-03:00</DataNascimento>
  <EstadoCivil>2</EstadoCivil>
  <Id>2667ed4f-acea-45ed-8ed6-23708ba699db</Id>
  <Nome>sample string 4</Nome>
  <Sexo>5</Sexo>
</Pessoa>